-
Notifications
You must be signed in to change notification settings - Fork 2.8k
feat(z-image): add Seed Variance Enhancer node and Linear UI integration #8753
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(z-image): add Seed Variance Enhancer node and Linear UI integration #8753
Conversation
Add a new conditioning node for Z-Image models that injects seed-based noise into text embeddings to increase visual variation between seeds. Backend: - New invocation: z_image_seed_variance_enhancer.py - Parameters: strength (0-2), randomize_percent (1-100%), seed Frontend: - State management in paramsSlice with selectors and reducers - UI components in SeedVariance/ folder with toggle and sliders - Integration in GenerationSettingsAccordion (Advanced Options) - Graph builder integration in buildZImageGraph.ts - Metadata recall handlers for remix functionality - Translations and tooltip descriptions Based on: github.com/Pfannkuchensack/invokeai-z-image-seed-variance-enhancer
JPPhoto
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Python code looks good. Need to get reviews from frontend prior to merging.
lstein
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've been functionally testing this for the past few days and it seems to do the job. My only comment concerns the wording of the noise strength popup.
Updated description for seedVarianceStrength.
torch.rand() generates [0, 1), so the scaled range excludes 1.
…ub.com/Pfannkuchensack/InvokeAI into feature/z-image-seed-variance-enhancer
Summary
Add a new conditioning node for Z-Image models that injects seed-based noise into text embeddings to increase visual variation between seeds.
Z-Image-Turbo can produce relatively similar images with different seeds, making it harder to explore variations of a prompt. This feature implements reproducible, seed-based noise injection into text embeddings to increase visual variation while maintaining reproducibility.
Backend:
z_image_seed_variance_enhancer.pystrength(0-2),randomize_percent(1-100%),seedFrontend:
paramsSlicewith selectors and reducersSeedVariance/folder with toggle and slidersbuildZImageGraph.tsBased on: https://github.com/Pfannkuchensack/invokeai-z-image-seed-variance-enhancer
Related Issues / Discussions
Integrates community node as core feature for Z-Image models.
QA Instructions
Workflow Editor:
Merge Plan
No special merge requirements. Schema will be auto-generated on backend start.
Checklist
What's Newcopy (if doing a release after this PR)